#include "http_hls_connection.h"
#include "public_module/loop_module/loop.h"

int main(int argc, const char * argv[])
{
    // std::string url = "https://www.baidu.com/";
    std::string       url = "http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8";
    Loop              loop;
    HttpHlsConnection conn(&loop);
    conn.InitHlsUrl(url);
    loop.Run();
    return 0;
}
